package com.gxa.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

/**
 * (Usercmt)实体类
 *
 * @author makejava
 * @since 2020-11-25 17:27:26
 */
@ApiModel(value = "用户评论表")
public class Usercmt implements Serializable {
    private static final long serialVersionUID = 282612818479971252L;
    /**
     * 用户评论id(主键)
     */
    @ApiModelProperty(name = "usercmtId",notes = "用户评论id(主键)",value = "用户评论id(主键)",required = true)
    private Integer usercmtId;
    /**
     * 用户头像
     */
    @ApiModelProperty(name = "usercmtUa",notes = "用户头像",value = "用户头像")
    private String usercmtUa;
    /**
     * 用户昵称
     */
    @ApiModelProperty(name = "usercmtUn",notes = "用户昵称",value = "用户昵称")
    private String usercmtUn;
    /**
     * 评论时间
     */
    @ApiModelProperty(name = "usercmtCt",notes = "评论时间",value = "评论时间")
    private Date usercmtCt;
    /**
     * 评论星级
     */
    @ApiModelProperty(name = "usercmtCos",notes = "评论星级",value = "评论星级")
    private Integer usercmtCos;
    /**
     * 用户id(外键)
     */
    @ApiModelProperty(name = "userId",notes = "用户id(外键)",value = "用户id(外键)")
    private Integer userId;


    public Integer getUsercmtId() {
        return usercmtId;
    }

    public void setUsercmtId(Integer usercmtId) {
        this.usercmtId = usercmtId;
    }

    public String getUsercmtUa() {
        return usercmtUa;
    }

    public void setUsercmtUa(String usercmtUa) {
        this.usercmtUa = usercmtUa;
    }

    public String getUsercmtUn() {
        return usercmtUn;
    }

    public void setUsercmtUn(String usercmtUn) {
        this.usercmtUn = usercmtUn;
    }

    public Date getUsercmtCt() {
        return usercmtCt;
    }

    public void setUsercmtCt(Date usercmtCt) {
        this.usercmtCt = usercmtCt;
    }

    public Integer getUsercmtCos() {
        return usercmtCos;
    }

    public void setUsercmtCos(Integer usercmtCos) {
        this.usercmtCos = usercmtCos;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }


    @Override
    public String toString() {
        return "Usercmt{" +
                "usercmtId=" + usercmtId +
                ", usercmtUa='" + usercmtUa + '\'' +
                ", usercmtUn='" + usercmtUn + '\'' +
                ", usercmtCt=" + usercmtCt +
                ", usercmtCos=" + usercmtCos +
                ", userId=" + userId +
                '}';
    }
}